import { BaseService, Service } from "@/api/service";

@Service({
    namespace: "sys/upload",
})
class Upload extends BaseService {
    //上传图片
    uploadImg(data: any) {
        return this.request({
            url: "/img",
            method: "POST",
            data,
        });
    }
}

export default new Upload();
